package com.controller;

import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.PostMapping;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RequestParam;

import javax.servlet.http.HttpServletResponse;

/**
 * @author: cxt
 * @time: 2022/7/29
 */
@Controller
@RequestMapping("/file/download")
public class FileDownloadController {

    @GetMapping("/index")
    public String index() {
        return "/page/fileDownload";
    }

    @PostMapping("/byPath")
    public void byPath(@RequestParam String path, HttpServletResponse response) {


    }


}
